package com.lmk.ms.common.dto.mvc;

import com.lmk.ms.common.dto.db.PageResult;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页查询列表数据
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2021/10/27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "分页查询列表数据")
public class PageData<T> {
    @Schema(description = "表头信息")
    private Meta meta;

    @Schema(description = "查询结果")
    private PageResult<T> result;
}
